import xlwings as xw
app = xw.App(visible=False, add_book=False)
workbook = app.books.open('F:\\python\\第4章\\汽车备案信息.xlsx')
worksheet = workbook.sheets['商用车信息']
cell = worksheet.range('A1').expand('table').last_cell
print(cell)
workbook.close()
app.quit()
